import Vue from 'vue'
import App from './App'
import uView from 'uview-ui'
import shopro from '@/shopro'
import store from "@/shopro/store";
import {router,RouterMount} from '@/shopro/router/index'



async function bootstrap() {
    App.mpType = 'app'
    Vue.config.productionTip = false

    // 引入全局uView
    Vue.use(uView)
    // 加载shopro
    Vue.use(shopro)

    Vue.use(router)

    const app = new Vue({
        store,
        ...App
    })

    app.$mount()
}

bootstrap()
